import request from '@/utils/request'
export function getFeedbackList(data) {
    // 获取反馈列表
    return request({
        url: '/feedbacks/getPageList',
        method: 'post',
        data
    })
}

export function addFeedback(data) {
    // 添加反馈
    return request({
        url: '/feedbacks/save',
        method: 'post',
        data
    })
}

export function editFeedback(data) {
    // 修改反馈
    return request({
        url: '/feedbacks/update',
        method: 'post',
        data
    })
}

export function deleteFeedback(data) {
    // 删除反馈
    return request({
        url: '/feedbacks/delete',
        method: 'post',
        data
    })
}